package com.hanserwei.han_picture.domain.request.spaceuser;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 空间用户查询请求
 * 考虑到空间用户并不会太多，就不分页了。
 */
@Data
public class SpaceUserQueryRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    @Schema(description = "space_user表id")
    private Long id;
    /**
     * 空间 ID
     */
    @Schema(description = "空间 id")
    private Long spaceId;
    /**
     * 用户 ID
     */
    @Schema(description = "用户 id")
    private Long userId;
    /**
     * 空间角色: viewer/editor/admin
     */
    @Schema(description = "空间角色: viewer/editor/admin")
    private String spaceRole;
}